import React, { Component } from 'react'
import Hoc from '../utils/hoc'
class Fun2 extends Component {
  
  render() {
    console.log(this.props,"6666666666666")
    return (
      <div>fun2</div>
    )
  }
}

// let Hoc = (WrapComponent)=>{
//     return class extends Component {
//         render(){
//             return <WrapComponent></WrapComponent>
//         }
//     }
// }

export default Hoc(Fun2)